//
//  FlowCoverViewController.m
//  FlowCover
//
//  Created by William Woody on 12/13/08.
//  Copyright __MyCompanyName__ 2008. All rights reserved.
//



#import "IMIUI/IMIUICoverFlowViewController.h"

@implementation IMIUICoverFlowViewController

- (id) init
{
	self = [super init];
	if (self != nil) {
		view=[[IMIUICoverFlowView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
		view.autoresizingMask=UIViewAutoresizingFlexibleBottomMargin|UIViewAutoresizingFlexibleTopMargin|
		UIViewAutoresizingFlexibleRightMargin|UIViewAutoresizingFlexibleLeftMargin;
								
		view.delegate=self;
		self.view=view;
	}
	return self;
}


- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
{
    return ((interfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
			(interfaceOrientation == UIInterfaceOrientationLandscapeRight));
}


- (void)didReceiveMemoryWarning 
{
    [super didReceiveMemoryWarning];
}


- (void)dealloc 
{
	[view release];
    [super dealloc];
}

#pragma mark Delegate
- (int)flowCoverNumberImages:(IMIUICoverFlowView *)view
{
	return 0;
}

- (UIImage *)flowCover:(IMIUICoverFlowView *)view cover:(int)image
{
	return nil;
}

- (void)flowCover:(IMIUICoverFlowView *)view didSelect:(int)image
{
	
}


@end
